#include "../inc/future.h"

//init future.
void init_future( void *pFuture, const future_callback_t callback )
{
	if ( pFuture && callback )
	{
		CFuture *pTheFuture = (CFuture *)pFuture;
		
		memset( pTheFuture, 0x00, sizeof(*pTheFuture) );
		
		pTheFuture->future_callback = callback;	
	}
}
